﻿using System.Collections.Generic;

namespace Beeflys.Generator
{
    public static class Generator
    {
        public const string DQM = "\"";


        public static List<ProtocolGroupGenerator> Start(List<UTypeInfo> protocols, List<UTypeInfo> messengers)
        {
            List<ProtocolGroupGenerator> protocolGroupGenerators = new List<ProtocolGroupGenerator>();
            foreach (var protocol in protocols)
            {
                ProtocolGroupGenerator protocolGenerator = new ProtocolGroupGenerator();
                protocolGenerator.Start(protocol);
                protocolGroupGenerators.Add(protocolGenerator);
            }

            return protocolGroupGenerators;
        }
    }
}
